package com.df.ez_game.business.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
//@Retention(RetentionPolicy.RUNTIME)
@Retention(RetentionPolicy.RUNTIME)
public @interface EzMapping {
//TODO 加版本？
    String name() default "";
    String desc() default "";
    int id();
    int version() default 0;

    /**
     * 是否只对内部系统开放
     * @return
     */
    boolean internal() default false;
}
